package data;

/**
 * @author Dmitry
 */
public class Triangle {
    private int index1;
    private int index2;
    private int index3;

    public Triangle(int index1, int index2, int index3) {
        this.index1 = index1;
        this.index2 = index2;
        this.index3 = index3;
    }

    public int getIndex1() {
        return index1;
    }

    public void setIndex1(int index1) {
        this.index1 = index1;
    }

    public int getIndex2() {
        return index2;
    }

    public void setIndex2(int index2) {
        this.index2 = index2;
    }

    public int getIndex3() {
        return index3;
    }

    public void setIndex3(int index3) {
        this.index3 = index3;
    }

    @Override
    public String toString() {
        return "["+index1+", "+index2+", "+index3+"]";
    }
}
